package factory.simplefactory.pizzastore.pizza;

/**
 * 披萨抽象类：定义基本方法
 */
public abstract class Pizza {
    private String name;
    //准备材料
    public abstract void prepare();
    //烘焙
    public abstract void bake();
    //切
    public abstract void cut();
    //装箱
    public abstract void box();
    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
